Skip to content

Introduce mapping layer for variant analysis history items#2315

Merged
charisk merged 4 commits intomainfrom
charisk/variant-analysis-store-mappers
Apr 14, 2023
Merged

Introduce mapping layer for variant analysis history items#2315
charisk merged 4 commits intomainfrom
charisk/variant-analysis-store-mappers

Conversation

@charisk
Copy link
Copy Markdown
Contributor

@charisk charisk commented Apr 13, 2023

Adds functions for DTO <-> domain model mappings. As part of this we've also modelled enums as DTOs which were previously not modelled.

Note that the mapping functions for the local queries are currently in query-history-dto-mapper and query-history-domain-mapper but will be moved into local queries specific files in a separate PR.

Checklist

N/A:

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

@charisk charisk added the secexp label Apr 13, 2023
@charisk charisk requested a review from robertbrignull April 13, 2023 12:15
@charisk charisk requested a review from a team as a code owner April 13, 2023 12:15
Copy link
Copy Markdown
Contributor

@robertbrignull robertbrignull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of small questions, but looks pretty good to me

Comment thread extensions/ql-vscode/src/query-history/store/query-history-domain-mapper.ts Outdated
Copy link
Copy Markdown
Contributor

@robertbrignull robertbrignull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@charisk charisk requested a review from a team as a code owner April 14, 2023 07:23
@charisk charisk merged commit 013701d into main Apr 14, 2023
@charisk charisk deleted the charisk/variant-analysis-store-mappers branch April 14, 2023 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants